import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
// @ts-ignore
import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
import * as ElementPlusIconsVue from '@element-plus/icons-vue';
import 'element-plus/dist/index.css'
import './style.css'
import BreadCrumb from '../src/components/bread/index.vue'
import '@/styles/index.scss';
const app = createApp(App)
app.component('BreadCrumb',BreadCrumb)
app.use(router)
app.use(store)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
	app.component(key, component)
}
app.use(ElementPlus, {
	locale: zhCn,
});
app.mount('#app')
